package lab02.Test05;

/**
 * Created by Administrator on 2017/10/14.
 */
public class Test_Cube {
    public static void main(String[] args) {
        Cube cube = new Cube();
        cube.setLength(3);
        cube.setWidth(4);
        cube.setHeight(5);
        System.out.println(cube.capacity(cube.getLength(), cube.getWidth(), cube.getHeight()));
        System.out.println("立方体长：" + cube.getLength() + "  立方体宽" + cube.getWidth() + "  立方体高" + cube.getHeight());
    }
}